import os

def main():
    
    path ="."
    
    for root, dirs, files in os.walk(path):
        for name in files:
            print(os.path.join(root,name))
        for name in dirs:
            print(os.path.join(root,name))            
    


if __name__ == '__main__':
    main()